]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell: Fix return value if the systemd unit is actually successfully run
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 8 May 2020 17:10:48 +0000 (19:10 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 8 May 2020 17:21:32 +0000 (19:21 +0200)
This got broken by last minute changes in commit 2d56395921. There's no change
too simple.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1242

src/shell-util.c

index dd6d312f497ffcabbab0701650f292eaf38ebd94..dd9be51a3d81a5b64b1c3b8ba591541979571b63 100644 (file)
@@ -713,6 +713,7 @@ shell_util_systemd_call (const char  *command,
                           -1, NULL,
                           on_systemd_call_cb,
                           (gpointer) command);
+  return TRUE;
 #endif /* HAVE_SYSTEMD */
 
   return FALSE;